package com.yunpeng.aidevice.dao.model.record;

import com.yunpeng.aidevice.dao.model.BaseRecordDO;

import java.time.LocalDateTime;

/**
 * <p>
 * 设备记录
 * </p>
 *
 * @author hemw
 * @since 2020-04-26
 */
public class RecordDO extends BaseRecordDO {

    private static final long serialVersionUID = 1L;

    /**
     * 数据产生时间
     */
    private LocalDateTime produceTime;

    /**
     * 设备代码
     */
    private String deviceCode;


    /**
     * 人员代码
     */
    private String userCode;

    /**
     * 记录结果
     */
    private String recordResult;

    /**
     * 记录图片
     */
    private String recordImages;

    /**
     * 记录状态
     */
    private String state;


    public LocalDateTime getProduceTime() {
        return produceTime;
    }

    public void setProduceTime(LocalDateTime produceTime) {
        this.produceTime = produceTime;
    }

    public String getDeviceCode() {
        return deviceCode;
    }

    public void setDeviceCode(String deviceCode) {
        this.deviceCode = deviceCode;
    }

    public String getUserCode() {
        return userCode;
    }

    public void setUserCode(String userCode) {
        this.userCode = userCode;
    }

    public String getRecordResult() {
        return recordResult;
    }

    public void setRecordResult(String recordResult) {
        this.recordResult = recordResult;
    }

    public String getRecordImages() {
        return recordImages;
    }

    public void setRecordImages(String recordImages) {
        this.recordImages = recordImages;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    @Override
    public String toString() {
        return "RecordDO{" +
                "id=" + id +
                ", creator=" + creator +
                ", createTime=" + createTime +
                ", updater=" + updater +
                ", updateTime=" + updateTime +
                ", flag=" + flag +
                ", produceTime=" + produceTime +
                ", deviceCode=" + deviceCode +
                ", userCode=" + userCode +
                ", recordResult=" + recordResult +
                ", recordImages=" + recordImages +
                ", state=" + state +
                "}";
    }
}
